import * as jsWindow from './js-window'
import * as jsGlobal from './js-global'
import * as jsShortCut from './js-shortcut'
import * as jsStore from './js-store'
import * as jsClipboard from './js-clipboard'
import * as jsDialog from './js-dialog'
import { IpcEvent } from 'app/type'

export const JSAPI = {
    jsWindow,
    jsGlobal,
    jsShortCut,
    jsStore,
    jsClipboard,
    jsDialog,
    IpcEvent,
}

export function initJSAPI() {
    window.$bty = JSAPI
}
